<div class="row">
    <div class="col-sm-7 infobox-container">
        <div class="infobox infobox-green  ">
            <div class="infobox-icon">
                <i class="icon-group"></i>
            </div>

            <div class="infobox-data">
                <span class="infobox-data-number"><?php echo $this->numMember; ?></span>
                <div class="infobox-content">Jumlah Jaringan</div>
            </div>
            <!--div class="stat stat-success">8%</div-->
        </div>

        <div class="infobox infobox-pink  ">
            <div class="infobox-icon">
                <i class="icon-shopping-cart"></i>
            </div>

            <div class="infobox-data">
                <span class="infobox-data-number"><?php echo $numTrans;?></span>
                <div class="infobox-content">Jumlah Transaksi</div>
            </div>
            <!--div class="stat stat-important">4%</div-->
        </div>

        <div class="infobox infobox-blue  ">
            <div class="infobox-icon">
                <i class="icon-twitter"></i>
            </div>

            <div class="infobox-data">
                <span class="infobox-data-number"><?php echo $this->numBalance; ?></span>
                <div class="infobox-content">Posisi Saldo</div>
            </div>

            <!--div class="badge badge-success">
                +32%
                <i class="icon-arrow-up"></i>
            </div-->
        </div>

        <!--div class="infobox infobox-red  ">
            <div class="infobox-icon">
                <i class="icon-beaker"></i>
            </div>

            <div class="infobox-data">
                <span class="infobox-data-number">7</span>
                <div class="infobox-content">experiments</div>
            </div>
        </div>

        <div class="infobox infobox-orange2  ">
            <div class="infobox-chart">
                <span class="sparkline" data-values="196,128,202,177,154,94,100,170,224"></span>
            </div>

            <div class="infobox-data">
                <span class="infobox-data-number">6,251</span>
                <div class="infobox-content">pageviews</div>
            </div>

            <div class="badge badge-success">
                7.2%
                <i class="icon-arrow-up"></i>
            </div>
        </div>

        <div class="infobox infobox-blue2  ">
            <div class="infobox-progress">
                <div class="easy-pie-chart percentage" data-percent="42" data-size="46">
                    <span class="percent">42</span>%
                </div>
            </div>

            <div class="infobox-data">
                <span class="infobox-text">traffic used</span>

                <div class="infobox-content">
                    <span class="bigger-110">~</span>
                    58GB remaining
                </div>
            </div>
        </div-->

        <div class="space-6"></div>

        <div class="infobox infobox-green infobox-small infobox-dark">
            <div class="infobox-progress">
                <div class="easy-pie-chart percentage" data-percent="61" data-size="39">
                    <span class="percent">61</span>%
                </div>
            </div>

            <div class="infobox-data">
                <div class="infobox-content">Task</div>
                <div class="infobox-content">Completion</div>
            </div>
        </div>

        <div class="infobox infobox-blue infobox-small infobox-dark">
            <div class="infobox-chart">
                <span class="sparkline" data-values="3,4,2,3,4,4,2,2"></span>
            </div>

            <div class="infobox-data">
                <div class="infobox-content">Saldo</div>
                <div class="infobox-content"><?php echo $this->numBalance; ?></div>
            </div>
        </div>

        <div class="infobox infobox-grey infobox-small infobox-dark">
            <div class="infobox-icon">
                <i class="icon-download-alt"></i>
            </div>

            <div class="infobox-data">
                <div class="infobox-content">Downloads</div>
                <div class="infobox-content">1,205</div>
            </div>
        </div>
    </div>
</div>
<div class="hr hr32 hr-dotted"></div>
<?php
    if ($this->numMember > 0){
?>

    <h4 class="lighter smaller">
    <i class="icon-user orange"></i>
    Member Terbaru Pada Jaringan Anda
    </h4>
    <div class="row">
        <div class="widget-body">
            <div class="widget-main padding-4">
                <div class="clearfix">
                    <?php
                    while ($this->newMembers->next()) {
                            $newMember = $this->newMembers->current();

                    ?>
                    <div class="itemdiv memberdiv">
                        <div class="user">
                            <img alt="Bob Doe's avatar" src="<?php echo $this->basePath()?>/assets/avatars/user.jpg" />
                        </div>

                        <div class="body">
                            <div class="name">
                                <a href="#"><?php echo $newMember['member_name']; ?></a>
                            </div>

                            <div class="time">
                                <i class="icon-time"></i>
                                <span class="green"><?php echo $newMember['start_dtm']; ?></span>
                            </div>
                        </div>
                    </div>
                    <?php
                    }
                    ?>
                </div>
            </div>
        </div>
    </div>
<?php }else{ ?>

    <h4 class="lighter smaller">
        <i class="icon-user orange"></i>
        Tidak Ada Member Terbaru Pada Jaringan Anda
    </h4>
<?php }?>
